package com.meituan.service;

import com.github.pagehelper.PageInfo;
import com.meituan.model.ShopEntity;

import java.util.List;

public interface ShopService {
    PageInfo<ShopEntity> findPageAllByMerchantId(String merchantId, Integer pageNum, Integer pageSize);
    List<ShopEntity> findAllByMerchantId(String merchantId);
    Integer register(ShopEntity shopEntity);
    Integer remove(String shopId);
    Integer updateShop(ShopEntity shopEntity);
    List<ShopEntity> getAll();
    ShopEntity findById(String shopId);
    Integer updateShopImg(String shopId,String shopImg);
}
